<?php
/**
 * @SWG\Swagger(
 *     basePath="/Api",
 *     host="127.0.0.1:8068",
 *     schemes={"http"},
 *     produces={"application/json"},
 *     consumes={"application/json"},
 *     @SWG\Info(
 *         version="1.0.0",
 *         title="BasicHouse H5 API说明文档",
 *         description=" "
 *     ),
 *     @SWG\Definition(
 *         definition="ErrorModel",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32"
 *         ),
 *         @SWG\Property(
 *             property="datas",
 *             type="string"
 *         )
 *     ),
 *	   @SWG\Definition(
 *         definition="calendars",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
 *             property="datas",
 *             type="object",
 *         	   required={"1", "3"},
 *             @SWG\Property(
 *                 property="1",
 *                 type="array",
 *                 @SWG\Items(ref="#/definitions/calendar_look")
 *             ),
 *             @SWG\Property(
 *                 property="3",
 *                 type="array",
 *                 @SWG\Items(ref="#/definitions/calendar_look")
 *                 
 *             )
 *			   
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="calendar_look",
 *         type="object",
 *         required={"id", "uid", "is_top", "calendar_memo", "cate", "img"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //该造型唯一id"
 *         ),
 *         @SWG\Property(
 *             property="uid",
 *             type="integer",
 *             format="int32",
 *             default="999                   //该造型创建用户的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="is_top",
 *             type="integer",
 *             format="int32",
 *             default="1                     //该造型是否显示在日历总览页，0否1是"
 *         ),
 *         @SWG\Property(
 *             property="calendar_memo",
 *             type="string",
 *             default="xxxx                  //该造型添加进日历后填写的备注"
 *         ),
 *         @SWG\Property(
 *             property="cate",
 *             type="integer",
 *             format="int32",
 *             default="1                     //1普通用户的造型，2管理员的造型灵感"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="xxxx                  //该造型图片访问全路径"
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="closets",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
*             property="datas",
*             type="object",
*         	  required={"totalCount", "totalPage", "pageList"},
*             @SWG\Property(
*                 property="totalCount",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总个数"
*             ),
*             @SWG\Property(
*                 property="totalPage",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总页数"
*             ),
*             @SWG\Property(
*                 property="pageList",
*                 type="array",
*                 @SWG\Items(ref="#/definitions/closet")
*                 
*             )
 *			   
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="closet",
 *         type="object",
 *         required={"id", "uid", "type", "img", "name", "memo"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //该衣橱物品的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="uid",
 *             type="integer",
 *             format="int32",
 *             default="999                   //该衣橱物品创建用户的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="type",
 *             type="integer",
 *             format="int32",
 *             default="1                     //该衣橱物品所属数字分类"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="xxxx                  //该衣橱物品主图(原始大图), m_xxx为中等缩略图，s_xxx为icon小图"
 *         ),
 *         @SWG\Property(
 *             property="name",
 *             type="string",
 *             default="1                     //该衣橱物品名称"
 *         ),
 *         @SWG\Property(
 *             property="memo",
 *             type="string",
 *             default="xxxx                  //该衣橱物品附注"
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="commoditys",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
*             property="datas",
*             type="object",
*         	  required={"totalCount", "totalPage", "pageList"},
*             @SWG\Property(
*                 property="totalCount",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总个数"
*             ),
*             @SWG\Property(
*                 property="totalPage",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总页数"
*             ),
*             @SWG\Property(
*                 property="pageList",
*                 type="array",
*                 @SWG\Items(ref="#/definitions/commodity")
*                 
*             )
 *			   
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="commodity",
 *         type="object",
 *         required={"id", "uid", "type", "img", "name", "memo", "sub_imgs", "no", "price", "dh_date"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //该商品物品的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="uid",
 *             type="integer",
 *             format="int32",
 *             default="999                   //该商品物品创建用户的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="type",
 *             type="integer",
 *             format="int32",
 *             default="1                     //该商品物品所属数字分类"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="xxxx                  //该商品主图(原始大图), m_xxx为中等缩略图，s_xxx为icon小图"
 *         ),
 *         @SWG\Property(
 *             property="name",
 *             type="string",
 *             default="我的小黑衣                     //该商品名称"
 *         ),
 *         @SWG\Property(
 *             property="memo",
 *             type="string",
 *             default="xxxx                  //该商品附注"
 *         ),
 *         @SWG\Property(
 *             property="sub_imgs",
 *             type="string",
 *             default="xxxx                  //该商品其它副图（0-n张不定,数组形式保存)"
 *             
 *         ),
 *		   @SWG\Property(
 *             property="no",
 *             type="string",
 *             default="HRBL3274                  //该商品 单品编号"
 *             
 *         ),
 *         @SWG\Property(
 *             property="price",
 *             type="string",
 *             default="356                  //该商品价格"
 *             
 *         ),
 *         @SWG\Property(
 *             property="dh_date",
 *             type="string",
 *             default="2017.8.5                  //该商品到货时间"
 *             
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="looks",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
*             property="datas",
*             type="object",
*         	  required={"totalCount", "totalPage", "pageList"},
*             @SWG\Property(
*                 property="totalCount",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总个数"
*             ),
*             @SWG\Property(
*                 property="totalPage",
*                 type="integer",
*                 format="int32",
*                 default="1                     //当前查询条件下的数据总页数"
*             ),
*             @SWG\Property(
*                 property="pageList",
*                 type="array",
*                 @SWG\Items(ref="#/definitions/look")
*                 
*             )
 *			), 
 *     ),
 *     @SWG\Definition(
 *         definition="look",
 *         type="object",
 *         required={"id", "cate", "uid", "label", "img", "item_ids", "items", "name", "memo"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //造型唯一id"
 *         ),
 *		   @SWG\Property(
 *             property="cate",
 *             type="integer",
 *             format="int32",
 *             default="1                   //造型身份(1：普通用户造型,2:百家好推荐造型)"
 *         ),
 *         @SWG\Property(
 *             property="uid",
 *             type="integer",
 *             format="int32",
 *             default="1                   //造型所属用户id"
 *         ),
 *         @SWG\Property(
 *             property="label",
 *             type="integer",
 *             format="int32",
 *             default="1                     //造型所属分类(仅百家好推荐造型有分类概念)"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="http://xxxx/xx/xx/xx.jpg //造型合成图主图(原始大图), m_xxx为中等缩略图，s_xxx为icon小图"
 *         ),
 *         @SWG\Property(
 *             property="item_ids",
 *             type="string",
 *             default="3,6,7,10,11           //造型构成元素的id逗号拼接(可能是商品也可能是衣橱),下面数组items是这些元素详情"
 *         ),
 *         @SWG\Property(
 *             property="items",
 *             type="array",
 *             @SWG\Items(ref="#/definitions/commodity")    
 *         ),
 *         @SWG\Property(
 *             property="create_time",
 *             type="string",
 *             default="xxxx                  //创建时间"
 *         ),
 *         @SWG\Property(
 *             property="name",
 *             type="string",
 *             default="xxxx                  //造型名称"
 *         ),
 *         @SWG\Property(
 *             property="memo",
 *             type="string",
 *             default="xxxx                  //造型附注"
 *         ),
 *     ),
 *     @SWG\Definition(
 *         definition="bhtypes",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
*             property="datas",
*             type="array",
*         	  @SWG\Items(ref="#/definitions/bhtype")
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="bhtype",
 *         type="object",
 *         required={"id", "name", "img"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //该衣橱和商品分类的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="name",
 *             type="string",
 *             default="1                     //该衣橱和商品分类的名称"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="xxxx                  //该衣橱和商品分类的未选中状态icon图"
 *         ),
 *         @SWG\Property(
 *             property="choose_img",
 *             type="string",
 *             default="xxxx                  //该衣橱和商品分类的选中状态icon图"
 *         ),
 *     ),   
*     @SWG\Definition(
 *         definition="bhlabels",
 *         type="object",
 *         required={"succ", "datas"},
 *         @SWG\Property(
 *             property="succ",
 *             type="integer",
 *             format="int32",
 *             default="1"
 *         ),
 *         @SWG\Property(
*             property="datas",
*             type="array",
*         	  @SWG\Items(ref="#/definitions/bhlabel")
 *         )
 *     ),
 *     @SWG\Definition(
 *         definition="bhlabel",
 *         type="object",
 *         required={"id", "name", "img"},
 *         @SWG\Property(
 *             property="id",
 *             type="integer",
 *             format="int32",
 *             default="99                    //该造型分类的唯一id"
 *         ),
 *         @SWG\Property(
 *             property="name",
 *             type="string",
 *             default="1                     //该造型分类的名称"
 *         ),
 *         @SWG\Property(
 *             property="img",
 *             type="string",
 *             default="xxxx                  //该造型分类的icon图"
 *         ),
 *     ),   
 *
 *
 *
 * )
 */
